Optimal. Leaf size=160 \[ \frac{x^3 \sin ^3\left (a+b \log \left (c x^n\right )\right )}{3 \left (b^2 n^2+1\right )}+\frac{2 b^2 n^2 x^3 \sin \left (a+b \log \left (c x^n\right )\right )}{b^4 n^4+10 b^2 n^2+9}-\frac{2 b^3 n^3 x^3 \cos \left (a+b \log \left (c x^n\right )\right )}{3 \left (b^4 n^4+10 b^2 n^2+9\right )}-\frac{b n x^3 \sin ^2\left (a+b \log \left (c x^n\right )\right ) \cos \left (a+b \log \left (c x^n\right )\right )}{3 \left (b^2 n^2+1\right )} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0553367, antiderivative size = 160, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 17, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.118, Rules used = {4487, 4485} \[ \frac{x^3 \sin ^3\left (a+b \log \left (c x^n\right )\right )}{3 \left (b^2 n^2+1\right )}+\frac{2 b^2 n^2 x^3 \sin \left (a+b \log \left (c x^n\right )\right )}{b^4 n^4+10 b^2 n^2+9}-\frac{2 b^3 n^3 x^3 \cos \left (a+b \log \left (c x^n\right )\right )}{3 \left (b^4 n^4+10 b^2 n^2+9\right )}-\frac{b n x^3 \sin ^2\left (a+b \log \left (c x^n\right )\right ) \cos \left (a+b \log \left (c x^n\right )\right )}{3 \left (b^2 n^2+1\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4487
Rule 4485
Rubi steps
\begin{align*} \int x^2 \sin ^3\left (a+b \log \left (c x^n\right )\right ) \, dx &=-\frac{b n x^3 \cos \left (a+b \log \left (c x^n\right )\right ) \sin ^2\left (a+b \log \left (c x^n\right )\right )}{3 \left (1+b^2 n^2\right )}+\frac{x^3 \sin ^3\left (a+b \log \left (c x^n\right )\right )}{3 \left (1+b^2 n^2\right )}+\frac{\left (2 b^2 n^2\right ) \int x^2 \sin \left (a+b \log \left (c x^n\right )\right ) \, dx}{3 \left (1+b^2 n^2\right )}\\ &=-\frac{2 b^3 n^3 x^3 \cos \left (a+b \log \left (c x^n\right )\right )}{3 \left (9+10 b^2 n^2+b^4 n^4\right )}+\frac{2 b^2 n^2 x^3 \sin \left (a+b \log \left (c x^n\right )\right )}{9+10 b^2 n^2+b^4 n^4}-\frac{b n x^3 \cos \left (a+b \log \left (c x^n\right )\right ) \sin ^2\left (a+b \log \left (c x^n\right )\right )}{3 \left (1+b^2 n^2\right )}+\frac{x^3 \sin ^3\left (a+b \log \left (c x^n\right )\right )}{3 \left (1+b^2 n^2\right )}\\ \end{align*}
Mathematica [A] time = 0.507012, size = 122, normalized size = 0.76 \[ \frac{x^3 \left (-9 b n \left (b^2 n^2+1\right ) \cos \left (a+b \log \left (c x^n\right )\right )+b n \left (b^2 n^2+9\right ) \cos \left (3 \left (a+b \log \left (c x^n\right )\right )\right )-2 \sin \left (a+b \log \left (c x^n\right )\right ) \left (\left (b^2 n^2+9\right ) \cos \left (2 \left (a+b \log \left (c x^n\right )\right )\right )-13 b^2 n^2-9\right )\right )}{12 \left (b^4 n^4+10 b^2 n^2+9\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.065, size = 0, normalized size = 0. \begin{align*} \int{x}^{2} \left ( \sin \left ( a+b\ln \left ( c{x}^{n} \right ) \right ) \right ) ^{3}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.22961, size = 1361, normalized size = 8.51 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 0.509526, size = 343, normalized size = 2.14 \begin{align*} \frac{{\left (b^{3} n^{3} + 9 \, b n\right )} x^{3} \cos \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right )^{3} - 3 \,{\left (b^{3} n^{3} + 3 \, b n\right )} x^{3} \cos \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right ) -{\left ({\left (b^{2} n^{2} + 9\right )} x^{3} \cos \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right )^{2} -{\left (7 \, b^{2} n^{2} + 9\right )} x^{3}\right )} \sin \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right )}{3 \,{\left (b^{4} n^{4} + 10 \, b^{2} n^{2} + 9\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]